﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace HelenServer.Migrator;

[Keyless]
[Table("zt_storyspec")]
[Index("Story", "Version", Name = "story", IsUnique = true)]
public partial class ZtStoryspec
{
    [Column("story", TypeName = "mediumint(9)")]
    public int Story { get; set; }

    [Column("version", TypeName = "smallint(6)")]
    public short Version { get; set; }

    [Column("title")]
    [StringLength(255)]
    public string Title { get; set; } = null!;

    [Column("spec", TypeName = "text")]
    public string Spec { get; set; } = null!;

    [Column("verify", TypeName = "text")]
    public string Verify { get; set; } = null!;
}